<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head>
    <meta charset="UTF-8">
    <meta charset=utf-8"UTF-8">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>后台管理</title>
    <link rel="stylesheet" href="../static/bootstrap.min.css">
    <link rel="stylesheet" href="../static/bt.css">
    <script src="/j.js"></script>
    <link rel="stylesheet" th:href="@{/bootstrap.min.css}">
    <style>
        .xiaoacao_footer {
            height: 30px;
            line-height: 35px;
            position: fixed;
            bottom: 0;
            width: 100%;
            text-align: center;
            background-color: darkslategrey;
            color: #fff;
            font-family: Arial;
            font-size: 14px;
            letter-spacing: 1px;
        }

        .xiaoacao_footer a {
            text-decoration: none;
        }

        .xiaoacao_footer a:link {
            text-decoration: none;
        }

        .xiaoacao_footer a:visited {
            text-decoration: none;
        }

        .xiaoacao_footer a:hover {
            text-decoration: none;
        }

        .xiaoacao_footer a:active {
            text-decoration: none;
        }

        .xiaoacao_footer a:focus {
            text-decoration: none;
        }

        h2 {
            position: fixed;
            top: 50px;
        }

        .form-item-new {
            top: 50px;
            position: fixed;
        }

        #btn-login {
            top: 50px;
            left: 70vw;
            position: fixed;
        }

        #mytab {
            top: 150px;
        }
        .btn-secondary{
            position: fixed !important;
            left: 40vw !important;
            height: 43px !important;
            width: 134px !important;
            top: 115px !important;
        }

        .fixed-table-loading {
            display: none;
        }
    </style>
</head>
<div class="card" style="width: 85vw;left: 7.5vw;top: 5vh" sec:authorize="!isAuthenticated()">
    <div class="card-body">
        <h5 class="card-title">未登录</h5>
        <p class="card-text">您还没有登录,请先登录</p>
        <a href="#" class="btn btn-primary" th:href="@{/login}">登录</a>
    </div>
</div>
<body sec:authorize="isAuthenticated()">
<form id="adminD" name="adminD" th:action="@{/getExcel}" method="post">
    <h2>请选择导出条件</h2>
    <div style="width: 300px;height: 200px;">
        <div class="form-item-new" style="display: inline-block;left:15vw">
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text" id="inputGroup-sizing-default2">年级</span>
                </div>
                <select id="cla" name="cla" style="width: 260px;">
                    <option value="" selected="">请选择年级-不选则查看全年级</option>
                    <option th:each="cla:${claList}" th:value="${cla}" th:text="${cla}"></option>
                </select>
            </div>
        </div>
        <div class="form-item-new" style="display: inline-block;left:35vw">
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text" id="inputGroup-sizing-default">年份</span>
                </div>
                <select id="time" name="time" style="width: 200px;">
                    <option value="" selected="">请选择年份</option>
                    <option value="2024-2025">2024-2025</option>
                    <option value="2024-2025-2">2024-2025-2</option>
                    <option value="2024-2025-1">2024-2025-1</option>
                    <option value="2023-2024">2023-2024</option>
                    <option value="2023-2024-2">2023-2024-2</option>
                    <option value="2023-2024-1">2023-2024-1</option>
                    <option value="2022-2023">2022-2023</option>
                    <option value="2022-2023-2">2022-2023-2</option>
                    <option value="2022-2023-1">2022-2023-1</option>
                    <option value="2021-2022">2021-2022</option>
                    <option value="2021-2022-2">2021-2022-2</option>
                    <option value="2021-2022-1">2021-2022-1</option>
                    <option value="2020-2021">2020-2021</option>
                    <option value="2020-2021-2">2020-2021-2</option>
                    <option value="2020-2021-1">2020-2021-1</option>
                    <option value="2019-2020">2019-2020</option>
                    <option value="2019-2020-2">2019-2020-2</option>
                    <option value="2019-2020-1">2019-2020-1</option>
                </select>
            </div>
        </div>
        <div class="form-item-new" style="display: inline-block;left:50vw">
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text" id="inputGroup-sizing-default1">专业</span>
                </div>
                <select id="major" name="major" style="width: 260px;">
                    <option value="" selected="">请选择专业-不选则查看全年级</option>
                    <option th:each="major:${majorList}" th:value="${major}" th:text="${major}"></option>
                </select>
            </div>
        </div>
        <div class="form-item-new" style="display: inline-block;left:70vw">
            <div class="input-group mb-3">
                <div class="input-group-prepend">
                    <span class="input-group-text" id="inputGroup-sizing-default4">班级</span>
                </div>
                <select id="classes" name="classes" style="width: 260px;">
                    <option value="" selected="">请选择专业-不选则查看全班级</option>
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                </select>
            </div>
        </div>
        <button class="btn btn-success" id="btn-login" style="display: inline-block;left:90vw" type="submit">导出</button>
        <button class="btn btn-success" id="refresh" style="display: inline-block;left:90vw" type="button">刷新</button>
    </div>
</form>
<table id="mytab" style="margin-left: 2%;margin-right: 2%;width: 96%;" class="table table-hover"></table>
<div class="xiaoacao_footer">
    <p>Copyright©2022-2024 <a href="http://www.pzhuweb.cn/" target="_blank">BY:WEB-KK</a> .All Rights Reserved</p>
</div>
</body>
<script th:src="@{/po.js}" src="../static/po.js"></script>
<script th:src="@{/bootstrap.min.js}" src="../static/bootstrap.min.js"></script>
<script th:src="@{/bootstrap.bundle.min.js}" src="../static/bootstrap.bundle.min.js"></script>
<script th:src="@{/b.js}" src="../static/b.js"></script>
<script th:src="@{/ep.js}" src="../static/ep.js"></script>
<script th:src="@{/btt.js}" src="../static/btt.js"></script>
<script th:src="@{/bt.js}" src="../static/bt.js"></script>
<script th:src="@{/list.js}" src="../static/list.js"></script>
</html>